<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>Document</title>
	<script type="text/javascript">
		// var w = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
		// var h=window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;

		// document.write(w);

		function run () {
			alert('xbs');
		}

		// time = setInterval(run,2000);

		// setTimeout(run,2000);

		function closetime () {
			clearInterval(time);
		}

		history.back();


	</script>
</head>
<body>
	<p onclick="closetime()" >关闭定时器</p>
</body>
</html>